package com.aaa.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Userinfo {

  private int userid;
  private String username;
  private String password;
  private String salt;
  private int deptid;
  private String avatar;
  private Dept dept;
  private  String sex;
  private  String email;
  private  String phonenumber;
  private int status;
  private  int del_flag;
  private  String create_by;
  @JsonFormat(timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date create_time;
  private  String update_by;
  @JsonFormat(timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date update_time;
  private  String  remark;
  private  Integer role_id;



}
